//
//  CJBaseTabBarView.h
//  LZHealthyNutrition
//
//  Created by 陈建 on 2018/8/27.
//  Copyright © 2018年 陈建. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CJBaseTabBarView;

@protocol CJBaseTabBarViewDelegate <NSObject>

@optional

// 点击tabBarButton按钮的时候调用
- (void)tabBar:(CJBaseTabBarView *)tabBar didClickButton:(NSInteger)index;

// 点击商城按钮的时候调用
- (void)tabBarDidClickPlusButton;

@end

@interface CJBaseTabBarView : UIView

// items:保存每一个按钮对应tabBarItem模型
@property (nonatomic, strong) NSArray *items;

// tabBar上按钮进行监听的代理属性
@property (nonatomic, weak) id<CJBaseTabBarViewDelegate> delegate;


@end
